package com.erp.user.request;

import com.erp.common.request.BaseRequest;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author shensong
 * @program machining_system.v1.0.0
 * @description 
 * @date 2022/12/21 10:51:49
 */
@Data
public class RolesAddReq extends BaseRequest {

    private static final long serialVersionUID = 1L;

    /**
     * 角色名
     */
    @NotBlank(message = "roleName not blank")
    private String roleName;
    /**
     * 角色代码
     */
    @NotBlank(message = "roleCode not blank")
    private String roleCode;
    /**
     * 角色类型
     */
    @NotNull(message = "type not null")
    private Integer type;
    /**
     * 角色状态 １启用２禁用
     */
    @NotNull(message = "status not null")
    private Integer status;
    /**
     * 角色描述
     */
    private String remark;

}
